<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppPrevious);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <UseCompilerGeneratedDocXmlFile>false</UseCompilerGeneratedDocXmlFile>
    <IsPackable>true</IsPackable>
    <PackageDescription>Provides classes that support storage of multiple data objects in a single container.</PackageDescription>
  </PropertyGroup>

  <!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->
  <PropertyGroup>
    <IsPartialFacadeAssembly Condition="$([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) == '.NETFramework'">true</IsPartialFacadeAssembly>
  </PropertyGroup>

  <ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true'">
    <Compile Include="System\IO\Packaging\CompressionOption.cs" />
    <Compile Include="System\IO\Packaging\ContentType.cs" />
    <Compile Include="System\IO\Packaging\EncryptionOption.cs" />
    <Compile Include="System\IO\Packaging\FileFormatException.cs" />
    <Compile Include="System\IO\Packaging\IgnoreFlushAndCloseStream.cs" />
    <Compile Include="System\IO\Packaging\InternalRelationshipCollection.cs" />
    <Compile Include="System\IO\Packaging\OrderedDictionary.cs" />
    <Compile Include="System\IO\Packaging\Package.cs" />
    <Compile Include="System\IO\Packaging\PackagePart.cs" />
    <Compile Include="System\IO\Packaging\PackagePartCollection.cs" />
    <Compile Include="System\IO\Packaging\PackageProperties.cs" />
    <Compile Include="System\IO\Packaging\PackageRelationship.cs" />
    <Compile Include="System\IO\Packaging\PackageRelationshipCollection.cs" />
    <Compile Include="System\IO\Packaging\PackageRelationshipSelector.cs" />
    <Compile Include="System\IO\Packaging\PackageRelationshipSelectorType.cs" />
    <Compile Include="System\IO\Packaging\PackageXmlEnum.cs" />
    <Compile Include="System\IO\Packaging\PackageXmlStringTable.cs" />
    <Compile Include="System\IO\Packaging\PackagingUtilities.cs" />
    <Compile Include="System\IO\Packaging\PackUriHelper.cs" />
    <Compile Include="System\IO\Packaging\PartBasedPackageProperties.cs" />
    <Compile Include="System\IO\Packaging\TargetMode.cs" />
    <Compile Include="System\IO\Packaging\XmlCompatibilityReader.cs" />
    <Compile Include="System\IO\Packaging\XmlWrappingReader.cs" />
    <Compile Include="System\IO\Packaging\ZipPackage.cs" />
    <Compile Include="System\IO\Packaging\ZipPackagePart.cs" />
    <Compile Include="System\IO\Packaging\ZipStreamManager.cs" />
    <Compile Include="System\IO\Packaging\ZipWrappingStream.cs" />
    <Compile Include="System\IO\Packaging\PackUriHelper.PackUriScheme.cs" />
    <Compile Include="$(CommonPath)System\Obsoletions.cs" Link="Common\System\Obsoletions.cs" />
  </ItemGroup>

  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">
    <PackageReference Include="System.Memory" Version="$(SystemMemoryVersion)" />
  </ItemGroup>

  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <Reference Include="WindowsBase" />
  </ItemGroup>

</Project>
